/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designPatterns.decorator;

/**
 *
 * @author minga
 */
public class Legdecorator extends AnimalDecorator{
    public Legdecorator(Animal animal)
    {
        super(animal);
    }
    @Override
    public void describe() {
        animal.describe();
        System.out.println("I have leg");
    }
    public void dance()
    {
        System.out.println("I can dance");
    }
}
